Valued\WordPress\BasePlugin S

Total Complexity 45
Dependencies 5
Dependents 3
Total lines 279
Lines of code 218
Logical lines of code 79
Comment lines 14
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
getCustomAttributes()
S
49 6 32
getSelectOptions()
S
58 4 15
init()
S
58 3 15
isUniqueAttribute()
S
66 4 8
getProductMetaKeys()
S
55 1 22
activatePlugin()
S
61 1 16
getInstance()
S
70 2 6
showUpdateNotice()
S
68 2 7
addUpdateNoticeDismissScript()
S
61 1 13
getProductKeys()
S
61 1 12
getMetaValue()
S
63 1 12
getSlug()
S
100 1 0
getName()
S
100 1 0
getMainDomain()
S
100 1 0
getDashboardDomain()
S
100 1 0
loadTranslations()
S
70 1 7
getOptionName()
S
79 1 3
getInviteErrorsTable()
S
78 1 3
render()
S
70 1 6
getPluginFile()
S
74 1 4
isWoocommerceActivated()
S
80 1 3
getActiveGtinPlugin()
S
81 1 3
isValidGtin()
S
79 1 3
getUpdateMessage()
S
79 1 3
getUpdateNotices()
S
82 1 3
getUpdateNoticeClass()
S
80 1 3
getUpdateNoticeDismissedAjaxHook()
S
80 1 3
dismissUpdateNotice()
S
72 1 6
shouldDisplayUpdateNotice()
S
69 1 7
getVersion()
S
82 1 3